﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LowLevelGraphics
{
    public partial class Definitions
    {
        private static string sFormulaScript = @"
        using System;
        using System.Collections.Generic;
        using System.Linq;
        using System.Text;

        using LowLevelGraphics;
        using LowLevelGraphics.Filter;
        using LowLevelGraphics.ColorSpaces;
        using LowLevelGraphics.Drawing;
        using LowLevelGraphics.Extensions;
        using LowLevelGraphics.Extractors;
        using LowLevelGraphics.Histograms;
        using LowLevelGraphics.Types;

        public class FormulaScript
        {
            protected ImageTransformation m_ImageTransformation = new ImageTransformation();
            public FormulaScript()
            {

            }

            public void Execute(UnsafeBitmap _bitmap)
            {
                int width = _bitmap.Width;
                int height = _bitmap.Height;
                ImageTransformation imageTransformation = new ImageTransformation();
                imageTransformation.ImageTransformationFormula = new ImageTransformation.ImageTransformationDelegate(delegate(int x, int y, out int xTransform, out int yTransform)
                {
                    xTransform = (int)//{0};
                    yTransform = (int)//{1};
                });
                imageTransformation.Execute(_bitmap);
            }
        }";

        /// <summary>
        /// Returns the scripter script
        /// </summary>
        public static string FormulaScript
        {
            get { return sFormulaScript; }
        }
    }
}
